<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="恢复GaussDB T数据库">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="gaussdbT_00042.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
  <meta name="DC.Publisher" content="20240320">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="gaussdbT_00045">
  <meta name="DC.Language" content="zh-cn">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>恢复GaussDB T数据库</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="gaussdbT_00045"></a><a name="gaussdbT_00045"></a>
  <h1 class="topictitle1">恢复GaussDB T数据库</h1>
  <div>
   <p>当需要对已备份的数据库进行恢复时，可以参考本节使用副本恢复数据库至原位置或新位置。</p>
   <div class="section">
    <h4 class="sectiontitle">前提条件</h4>
    <p>当数据库服务状态为“在线”、“降级”、“不可用”，且数据库服务所在节点状态为“在线”时，可以进行恢复操作。</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">注意事项</h4>
    <p>恢复前请确保恢复目标位置的数据目录剩余空间大于恢复副本缩减前大小，否则恢复将失败。</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">操作步骤</h4>
    <ol>
     <li><span>选择<span class="uicontrol" id="gaussdbT_00045__gaussdbt_00041_zh-cn_topic_0000001839142377_uicontrol137901542165417">“<span id="gaussdbT_00045__gaussdbt_00041_zh-cn_topic_0000001839142377_text4790154220547">数据利用</span> &gt; <span id="gaussdbT_00045__gaussdbt_00041_zh-cn_topic_0000001839142377_text15790114235419">副本数据</span> &gt; <span id="gaussdbT_00045__gaussdbt_00041_zh-cn_topic_0000001839142377_text9626515124917">数据库</span> &gt; <span id="gaussdbT_00045__gaussdbt_00041_zh-cn_topic_0000001839142377_text193013119308">GaussDB T</span>”</span>。</span></li>
     <li><span>支持以资源维度或以副本维度查找副本，本节以资源维度为例进行说明。</span><p></p><p>在“<span>资源</span>”页签，根据数据库名称查找到需要恢复的数据库，并单击数据库名称。</p> <p></p></li>
     <li><span>在<span class="uicontrol">“<span>副本数据</span>”</span>页面，依次选择年、月、天找到副本。</span><p></p><p>当时间上显示<span><img src="zh-cn_image_0000001839188113.png"></span>，即表示该月、该天存在副本。</p> <p></p></li>
     <li><span>在副本所在行，单击<span class="uicontrol">“<span>更多</span> &gt; <span>恢复</span>”</span>。</span><p></p>
      <ul>
       <li>恢复数据库实例至原位置。</li>
       <li>恢复数据库实例至新位置。<p>相关参数说明如<a href="#gaussdbT_00045__zh-cn_topic_0000001263936798_table93951625101715">表1</a>所示。</p>
        <div class="tablenoborder">
         <a name="gaussdbT_00045__zh-cn_topic_0000001263936798_table93951625101715"></a><a name="zh-cn_topic_0000001263936798_table93951625101715"></a>
         <table cellpadding="4" cellspacing="0" summary="" id="gaussdbT_00045__zh-cn_topic_0000001263936798_table93951625101715" frame="border" border="1" rules="all">
          <caption>
           <b>表1 </b>恢复GaussDB T数据库实例至新位置
          </caption>
          <colgroup>
           <col style="width:32.53%">
           <col style="width:67.47%">
          </colgroup>
          <thead align="left">
           <tr>
            <th align="left" class="cellrowborder" valign="top" width="32.53%" id="mcps1.3.4.2.4.2.1.2.2.2.3.1.1"><p>参数</p></th>
            <th align="left" class="cellrowborder" valign="top" width="67.47%" id="mcps1.3.4.2.4.2.1.2.2.2.3.1.2"><p>说明</p></th>
           </tr>
          </thead>
          <tbody>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.4.2.1.2.2.2.3.1.1 "><p>目标位置</p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.4.2.1.2.2.2.3.1.2 "><p>选择恢复到的目标位置。</p></td>
           </tr>
          </tbody>
         </table>
        </div>
        <div class="note">
         <img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span>
         <div class="notebody">
          <p>恢复过程中，系统将关闭目标位置数据库服务。</p>
         </div>
        </div></li>
      </ul> <p></p></li>
     <li><span>单击<span class="uicontrol">“<span>确定</span>”</span>。</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>父主题：</strong> <a href="gaussdbT_00042.html">恢复</a>
    </div>
   </div>
  </div>
 </body>
</html>